import React, {Component} from "react";
import {WindowResize} from "./WindowResize";
import createReactClass from 'create-react-class';
export const FirstComponentMix = createReactClass({
  mixins: [WindowResize],
  render() {
    console.log('window.innerWidth', this.state.innerWidth);
    return <div className=""
                style={{fontSize: this.state.innerWidth / 1000 * 32}}>
      第一个组件（通过Mix）
    </div>
  },
});
